const solutionList = [
  {
    solutionId: 1,
    solutionName: '解决方案1',
    projectBackground: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
    isEnable: 1,
    sortNumber: 1,
    imageId: '1',
    solutionDescription: '解决方案1描述'
  }
];

const solveQuestionList = [
  {
    solveQuestionId: 1,
    productServiceId: 1,
    solutionName: '解决方案1',
    solveQuestionTitle: '解决问题1',
    sortNumber: 1,
    isEnable: 1,
    imageId: 2
  }
];

const solutionApiList = [
  // 获取解决方案列表
  {
    url: '/CompanyWebsiteApi/SystemManage/Solution/GetSolutionList',
    type: 'get',
    response: config => {
      return {
        businessCode: 0,
        httpStatusCode: 200,
        status: true,
        message: '',
        data: {
          data: solutionList,
          count: solutionList.length
        }
      }
    }
  },
  // 解决问题
  {
    url: '/CompanyWebsiteApi/SystemManage/SolveQuestion/GetSolveQuestionList',
    type: 'get',
    response: config => {
      return {
        businessCode: 0,
        httpStatusCode: 200,
        status: true,
        message: '',
        data: {
          data: solveQuestionList,
          count: solveQuestionList.length
        }
      }
    }
  }
];

module.exports = solutionApiList;
